Repository navigation
Let reported general-purpose agents inherit the selected model 🤖🤖🤖 - #6330
findscripter wants to merge 4 commits into
Conversation
🔒 PR Risk Scan ResultsScanned 14 changed file(s).
✅ No matching risk patterns were detected in changed files.
|
|
🟡 Contributor Reputation Check: MEDIUM risk
Maintainers: please review this contributor before merging. |
🚦 Submission status: 🛠️ Requires submitter fixesRisk tier: Why this tier
Automated checks
Action needed
Review
Commands
Updated for |
🔍 Vally Lint Results
Summary
Full linter output |
There was a problem hiding this comment.
🟡 Changes recommended
The shipped-agent changes leave their distributing plugin versions and marketplace entries unchanged, so update-detecting clients may not receive the model-inheritance fixes.
1 open issue
What changed in this PR
This pull request updates six general-purpose agents to inherit the user's selected/default model instead of pinning potentially unavailable model presets. It also updates agent-authoring guidance and the Custom Agent Foundry example to prefer model inheritance.
Changes:
- Removes explicit model frontmatter from six general-purpose agents.
- Updates contribution, repository, and agent-generation guidance.
- Documents model-specific exceptions and supported alternatives.
- Requires corresponding plugin version/marketplace updates and alignment with the learning-hub guidance.
This pull request requires changes.
| File | Description |
|---|---|
CONTRIBUTING.md |
Updates the example agent format and model-selection guidance. |
agents/se-technical-writer.agent.md |
Removes the pinned GPT-5 model. |
agents/se-security-reviewer.agent.md |
Removes the pinned GPT-5 model. |
agents/meta-agentic-project-scaffold.agent.md |
Removes the pinned GPT-4.1 model. |
agents/custom-agent-foundry.agent.md |
Removes the pinned model and updates the generated-agent example and guidance. |
agents/context-architect.agent.md |
Removes the pinned GPT-5 model. |
agents/agent-governance-reviewer.agent.md |
Removes the pinned GPT-4o model. |
AGENTS.md |
Updates agent authoring and review checklist guidance. |
.github/copilot-instructions.md |
Aligns agent guidance with model inheritance by default. |
Review effort: Lite (auto)
| name: Display name for the agent (optional, defaults to filename) | ||
| argument-hint: Guidance text for users on how to interact (optional) | ||
| tools: ['tool1', 'tool2', 'toolset/*'] # Available tools | ||
| model: Claude Sonnet 4 # Optional: specific model selection |
There was a problem hiding this comment.
This is probably incorrect guidance as it's for a Foundry agent, not a Copilot agent.
| Omit `model` so the agent inherits the selected/default model. Add a preset only for a documented model-specific requirement, with supported alternatives. | ||
|
|
There was a problem hiding this comment.
This is probably incorrect guidance as it's for a Foundry agent, not a Copilot agent.
| Omit `model` by default so the agent inherits the user's selected/default model, as described in the [custom agent configuration reference](https://docs.github.com/en/copilot/reference/custom-agents-configuration). Set it only when the workflow has a documented model-specific requirement, and include supported alternatives. | ||
|
|
There was a problem hiding this comment.
No need to have this if we remove the point about the model property.
aaronpowell
left a comment
There was a problem hiding this comment.
I've provided some inline comments of changes that are likely required.
🧩 Canvas smoke test✅ Passed · 0 error(s), 30 warning(s)
Plugin
|
| Field | Value |
|---|---|
| Description | A date-aware demotivational calendar canvas with an original daily letdown for every month and day. |
| Author | — |
| License | MIT |
| Keywords | calendar, daily, demotivation, humor, offline |
| Extensions | demotivational-calendar |
| Materialize | ✅ |
| Install | ✅ |
Changed plugin files
plugins/demotivational-calendar/README.mdplugins/demotivational-calendar/plugin.json
Plugin git-tag-manager v1.0.0
| Field | Value |
|---|---|
| Description | Manage local and remote Git tags, create and push release tags, and delete tags with confirmation. |
| Author | James Montemagno — https://github.com/jamesmontemagno |
| License | MIT |
| Keywords | canvas, git, tags, releases, github-actions |
| Extensions | git-tag-manager |
| Materialize | ✅ |
| Install | ✅ |
Changed plugin files
plugins/git-tag-manager/README.mdplugins/git-tag-manager/plugin.json
Plugin keyboard-2048 v1.0.0
| Field | Value |
|---|---|
| Description | Play 2048 in a Copilot canvas with keyboard and touch controls, undo, and session saves. |
| Author | geniodelmale — https://github.com/geniodelmale |
| License | MIT |
| Keywords | 2048, copilot-canvas, game, keyboard, puzzle, undo |
| Extensions | keyboard-2048 |
| Materialize | ✅ |
| Install | ✅ |
Changed plugin files
plugins/keyboard-2048/README.mdplugins/keyboard-2048/plugin.json
Plugin pr-artifact-explorer v1.0.1
| Field | Value |
|---|---|
| Description | Navigate pull requests and workflow runs (including scheduled and manual runs without a PR) and securely explore GitHub Actions artifacts, including test results, static sites, terminal recordings, and source files. |
| Author | David Pine — https://github.com/IEvangelist |
| License | — |
| Keywords | actions-artifacts, artifact-browser, canvas, copilot-extension, github-actions, pull-requests, test-results |
| Extensions | pr-artifact-explorer |
| Materialize | ✅ |
| Install | ✅ |
Changed plugin files
plugins/pr-artifact-explorer/README.mdplugins/pr-artifact-explorer/plugin.json
Extension demotivational-calendar
| Field | Value |
|---|---|
| Registered by | demotivational-calendar |
| Package | — |
| Preview | 400×923, 87.4 KB |
| Modules | 3 (2 reachable from extension.mjs) |
| Files | 6 |
Permissions and capabilities (static analysis of modules reachable from extension.mjs)
- File system access (node:fs)
- Network sockets / local server (node:http, node:net, ...)
Warnings
- calendar.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
Changed extension files
extensions/demotivational-calendar/README.mdextensions/demotivational-calendar/assets/preview.pngextensions/demotivational-calendar/calendar.test.mjsextensions/demotivational-calendar/extension.mjsextensions/demotivational-calendar/index.htmlextensions/demotivational-calendar/server.mjs
Extension git-tag-manager
| Field | Value |
|---|---|
| Registered by | git-tag-manager |
| Package | — |
| Preview | 1200×900, 75.6 KB |
| Modules | 11 (6 reachable from extension.mjs) |
| Files | 16 |
Permissions and capabilities (static analysis of modules reachable from extension.mjs)
- Spawns processes (node:child_process)
- File system access (node:fs)
- Network sockets / local server (node:http, node:net, ...)
- Host information (node:os)
- Reads environment variables (process.env)
Warnings
- manager.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- server.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
Changed extension files
extensions/git-tag-manager/README.mdextensions/git-tag-manager/assets/preview.pngextensions/git-tag-manager/copilot-extension.jsonextensions/git-tag-manager/extension.mjsextensions/git-tag-manager/git.mjsextensions/git-tag-manager/manager.mjsextensions/git-tag-manager/manager.test.mjsextensions/git-tag-manager/public/client.jsextensions/git-tag-manager/public/index.htmlextensions/git-tag-manager/public/styles.cssextensions/git-tag-manager/public/theme.jsextensions/git-tag-manager/schemas.mjsextensions/git-tag-manager/server.mjsextensions/git-tag-manager/server.test.mjsextensions/git-tag-manager/storage.mjsextensions/git-tag-manager/test-fixture.mjs
Extension keyboard-2048
| Field | Value |
|---|---|
| Registered by | keyboard-2048 |
| Package | — |
| Preview | 1546×1496, 160.2 KB |
| Modules | 7 (3 reachable from extension.mjs) |
| Files | 10 |
Permissions and capabilities (static analysis of modules reachable from extension.mjs)
- File system access (node:fs)
- Network sockets / local server (node:http, node:net, ...)
Warnings
- extension.test.mjs: non-literal dynamic import cannot be analyzed safely (module is not reachable from extension.mjs)
- extension.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- game.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- server.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
Changed extension files
extensions/keyboard-2048/app.mjsextensions/keyboard-2048/assets/preview.pngextensions/keyboard-2048/extension.mjsextensions/keyboard-2048/extension.test.mjsextensions/keyboard-2048/game.mjsextensions/keyboard-2048/game.test.mjsextensions/keyboard-2048/index.htmlextensions/keyboard-2048/server.mjsextensions/keyboard-2048/server.test.mjsextensions/keyboard-2048/style.css
Extension pr-artifact-explorer
| Field | Value |
|---|---|
| Registered by | pr-artifact-explorer |
| Package | pr-artifact-explorer 1.0.1 |
| Preview | 1440×900, 81.5 KB |
| Modules | 51 (21 reachable from extension.mjs) |
| Files | 120 |
Permissions and capabilities (static analysis of modules reachable from extension.mjs)
- Spawns processes (node:child_process)
- File system access (node:fs)
- Network sockets / local server (node:http, node:net, ...)
- Host information (node:os)
- Outbound HTTP requests (fetch)
- Reads environment variables (process.env)
- Third-party runtime packages: playwright-core
Warnings
- accounts.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- backend-gaps.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- capture.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- close-bounded.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- jobs-limits.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- markdown-preview.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- media-junit.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- mode-race.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- nav-history.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- owned-theme.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- pull-loading.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- range-integrity.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- raw-open.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- raw-wiring.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- report-state.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- rerun.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- review-fixes.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- runs-ui.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- runs.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- server.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- targets.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- video-http.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
- zip64.test.mjs: import "node:test" is not a Node.js builtin, host-provided package, or declared dependency (module is not reachable from extension.mjs)
Changed extension files
extensions/pr-artifact-explorer/README.mdextensions/pr-artifact-explorer/accounts.mjsextensions/pr-artifact-explorer/accounts.test.mjsextensions/pr-artifact-explorer/assets/app.jsextensions/pr-artifact-explorer/extension.mjsextensions/pr-artifact-explorer/package-lock.jsonextensions/pr-artifact-explorer/package.jsonextensions/pr-artifact-explorer/server.mjs
Static checks compile modules without executing them. Minimum preview size is configurable with CANVAS_PREVIEW_MIN_WIDTH/CANVAS_PREVIEW_MIN_HEIGHT. Workflow run





Description
Refs #5747.
The six general-purpose profiles named in the issue select models that may be unavailable in a user's client or account. Remove those presets so each profile uses the client's selected/default model. The contribution example leaves
modelunspecified, and the review guidance allows documented model-specific requirements with supported alternatives.The six profiles retain their names, descriptions, tools, other frontmatter values, and complete bodies. The Foundry generation template retains its existing optional
modelexample. The Learning Hub explains default inheritance and client-specific model and reasoning overrides.Publish the shipped-agent changes by bumping
context-engineeringandsoftware-engineering-teamto1.0.1, andawesome-copilotto1.1.1, then regenerating their marketplace versions.Validation
modelwas removed.npm run buildandgit diff --checkpassed.9ecc4025passed the website data regressions and full Astro build.npm run plugin:validatepassed. Enumerating all distributing manifests identifies exactly those three plugins; their versions match the generated marketplace.model. The other two changed agents are not referenced by plugin manifests. Source, served and marketplace versions match (1.0.1,1.0.1,1.1.1). This checks packaging, not client execution.model-policyfor the agent selected in chat, but does not forward it to SDK custom-agent configuration, including plugin-provided agents. It is not a runtime-wide restriction.This PR covers the six reported profiles and authoring guidance. No live invocation or backend-model telemetry was collected across the different clients. Maintainer confirmation of the authoring/review policy changes and client-side verification of model selection remain outstanding; offline materialization and unrelated canvas-plugin CI do not satisfy that acceptance.
AI-assisted implementation and validation.